package com.vivo.customer.dao;

import com.vivo.customer.entity.CustomerCreditHistory;
import com.vivo.customer.entity.CustomerCreditHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerCreditHistoryMapper {
    int countByExample(CustomerCreditHistoryExample example);

    int deleteByExample(CustomerCreditHistoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(CustomerCreditHistory record);

    int insertSelective(CustomerCreditHistory record);

    List<CustomerCreditHistory> selectByExample(CustomerCreditHistoryExample example);

    CustomerCreditHistory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CustomerCreditHistory record, @Param("example") CustomerCreditHistoryExample example);

    int updateByExample(@Param("record") CustomerCreditHistory record, @Param("example") CustomerCreditHistoryExample example);

    int updateByPrimaryKeySelective(CustomerCreditHistory record);

    int updateByPrimaryKey(CustomerCreditHistory record);
}